<?php
namespace app\demo\controller;

use yunj\traits\admin\IndexController;

class Index extends DemoController {

    // 必须
    use IndexController;

    // 必须
    public function welcome(){
        return $this->fetch();
    }

}